package com.itheima.dto;


import com.itheima.bean.Dish;
import com.itheima.bean.DishFlavor;
import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;


@ToString(callSuper = true)
@Data
public class DishDto extends Dish {

    //口味的集合数据，一种口味的选择就是一个DishFlavor的对象！
    private List<DishFlavor> flavors = new ArrayList<>();

    //分类的名称
    private String categoryName;

    private Integer copies;
}
